#运行代码的入口
import os

import pytest
from config.conf import report_json_path, report_html_path

if __name__ == '__main__':
    pytest.main(['-xs','--alluredir',report_json_path,"--clean-alluredir"])
    # os.system(f"allure serve {report_json_path}")
    os.system(f"allure generate {report_json_path} -o {report_html_path} -c")
